# List Sharing Scopes

List all sharing scopes of the give storage.

Endpoint: GET /v4/storages/{storageId}/sharingscopes
Version: 5
Security: apiKey

## Security:

  - `apiKey` (unknown)
    apiKey in header X-API-KEY

## Path parameters:

  - `storageId` (string, required)
    Unique identifier of the Storage.

## Query parameters:

  - `startAfter` (string)
    Only items with an ID greater than the given one will be retrieved.

When nextStartAfter provided in the response, should be used instead of the ID
as an indicator for a next page.

  - `limit` (integer)
    Number of items to be returned on the page.

  - `featuresOn` (array)
    Features to be activated.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `values` (array)
    List of Sharing Scopes.

  - `values.id` (string)
    Unique identifier for the Sharing Scope.
    Example: bfdfd6f7-562f-4d4a-921f-e68cba60d5cf

  - `values.description` (string)
    Description of defined sharing scope provided by customer
    Example: Share customers from France.

  - `values.dataSources` (array)
    List of Data Sources.

  - `values.dataSources.id` (string)
    Unique identifier for a Data Source of the Storage.
    Example: 648824a691d8d2503d65103e

  - `values.dataSources.name` (string)
    Name of a data source of a storage.
    Example: Internal customers

  - `values.countries` (array)
    List of Countries.

  - `values.countries.shortName` (string)
    Country code (ISO 3166-1 alpha-2).
    Example: CH

  - `values.excludedCountries` (array)
    List of excluded Countries. When set, the sharing scope covers all countries except these. Business Partners with any address in an excluded country are not covered; Business Partners without a country are covered. Mutually exclusive with `countries`.

  - `values.applyingJob` (object)
    Job that is currently applying the sharing scope.

  - `values.applyingJob.id` (string)
    Unique identifier of a job.
    Example: 35f23c03-1c22-45fe-9484-3ffe769325de

  - `values.applyingJob.status` (string)
    Job execution status.
    Example: RUNNING

  - `values.applyingJob.progress` (integer)
    Progress (%) of the job.
    Example: 77

  - `limit` (integer)
    Number of items per page.
    Example: 100

  - `startAfter` (string)
    The ID which is used to read the page.
    Example: 5712566172571652

  - `nextStartAfter` (string)
    Provides a value to be used as a startAfter in next page request.
    Example: 5712566172571652

  - `total` (integer)
    Total number of items which can be paged.
    Example: 67

